﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// 挂号类型实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_RegistryType
    {
        #region Accessor
        /// <summary>
        /// 获取或设置挂号类型编码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int RegistryTypeId { get; set; }

        /// <summary>
        /// 获取或设置挂号类型名称
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string RegistryTypeName { get; set; }

        /// <summary>
        /// 获取或设置挂号类型描述
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Description { get; set; }
        #endregion

        #region Structure

        public M7_RegistryType()
        { 
        }

        public M7_RegistryType(int registryTypeId, string registryTypeName)
        {
            RegistryTypeId = registryTypeId;
            RegistryTypeName = registryTypeName;
        }

        #endregion
    }
}
